package com.fj.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fj.entity.DevUser;
import com.fj.mapper.DevUserMapper;
import com.fj.service.DevUserService;
@Service
public class DevUserServiceImpl implements DevUserService{

    @Resource
    private DevUserMapper devUserMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return devUserMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(DevUser record) {
        return devUserMapper.insert(record);
    }

    @Override
    public int insertSelective(DevUser record) {
        return devUserMapper.insertSelective(record);
    }

    @Override
    public DevUser selectByPrimaryKey(Long id) {
        return devUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DevUser record) {
        return devUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DevUser record) {
        return devUserMapper.updateByPrimaryKey(record);
    }

    @Override
    public DevUser login(String devCode) {
        return devUserMapper.login(devCode);
    }
}
